import axios from "@/utils/api.request";

export const getUserInfo = (data) => {
  return axios.request({
    url: "/getUserInfo",
    method: "post",
    data: data
  });
};

export const login = (data) => {
  return axios.request({
    url: "/login",
    method: "POST",
    data: data
  });
};
